package vip.sweet.biz.modular.heritage.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.sql.Date;

/**
 * @author ASUS
 * @Date 2025/10/4 18:51
 * @Descripition
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("biz_heritage_projects")
@Schema(description = "业务逻辑文化保护项目实体类")
public class BizHeritageProjects {
    @Schema(description = "项目ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @Schema(description = "项目标题")
    private String title;
    @Schema(description = "项目内容")
    private String description;
    @Schema(description = "项目图标")
    private String icon;
    @Schema(description = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    @Schema(description = "修改时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
